package com.cn.sl.server.common.dto

import io.swagger.v3.oas.annotations.media.Schema

@Schema(description = "枚举实体")
data class EnumData<T>(
    /**
     * 显示名
     */
    @field:Schema(description = "显示名")
    val label: String,
    /**
     * 值
     */
    @field:Schema(description = "值")
    val value: String,
    /**
     * 扩展属性
     */
    @field:Schema(description = "扩展属性")
    val expand: T? = null
)
